package com.tsd.thread;

import com.tsd.system.entity.SysUserExt;

/**
 * @ClassName: Callback
 * @Description: TODO
 * @Author: Hillpool
 * @Date: 2023/2/16 16:16
 * @Version: 1.0
 */
public interface Callback<T> {
    //回调处理，包括预先处理、事后处理
    void pre_action(T data, SysUserExt opUser) throws Exception;
    void post_action(T data, SysUserExt opUser) throws Exception;
}
